home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
SYMBOL
/
Neurons
/
apply-rules
< prev
next >
Wrap
Lisp/Scheme
|
1998-10-23
|
321b
|
11 lines
apply-rules rules in-patterns
Allows to run neuron rules without defining the neurons. This is suitable when shielding neurons within functions.
(defun melody-alter-lower (&rest patterns)
(apply-rules
'((all-in 1 '(a a) -26 26 0)
(transpose-one-symbol (in 1 0) -1)
(otherwise (in 1 0)))
patterns))